
How to run in Stata
-------------------
1) Put 'run_from_panel.do' and your data ('data.xlsx' or 'panel_planA.csv') in the same folder.
2) In Stata:
   . cd "C:/path/to/your/folder"
   . do run_from_panel.do

Notes
-----
- The do-file auto-detects and drops ST/*ST rows (if a 0/1 flag exists).
- It also tries to drop Finance/Real Estate using a Chinese industry-name column (matching '金融|房地产业').
- Baseline uses firm fixed effects (no year FE) to identify the national ESGP main effect.
- Interaction models use industry FE + year FE while absorbing firm FE.
- Standard errors are clustered by firm.
- If auto-detection fails on your machine (e.g., different variable names after import),
  open the do-file and replace the detected variable names with your actual ones.
